//
//  SingLeton.h
//  UI16.真.豆瓣
//
//  Created by dllo on 15/11/3.
//  Copyright © 2015年 Amydom. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Movie.h"
#import "UserModel.h"
#import "ActiveModel.h"
@interface SingLeton : NSObject


+(instancetype)shareSingleton;
- (void)openDB;
- (void)createTable;
- (void)selectStudent;
- (void)insertStudent:(Movie *)movie;
@property (nonatomic,retain)NSMutableArray *array;
/***********************/

- (void)openUserDB;
- (void)createUserTable;
- (void)insertUser:(UserModel *)user;
- (void)selectUser;
@property (nonatomic,retain)NSMutableArray *arrayUser;
/***********************/
- (void)openActDB;
- (void)createActTable;
- (void)insertAct:(ActiveModel *)actModel;
- (NSMutableArray *)selectActName:(NSString *)name;
@property (nonatomic,retain)NSMutableArray *arrayAct;
-(void)deleteActivityCollect:(NSString *)title userName:(NSString *)userName;


@end
